package com.qf.app;

import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.app.Application;

public class MyApp extends Application
{
	List<Activity> list = new ArrayList<Activity>();

	public void addActivity(Activity activity)
	{
		list.add(activity);
	}

	public void exitApp()
	{
		for (Activity activity : list)
		{
			activity.finish();
		}
	}
}
